package com.rainy.sso.client.service;
import com.rainy.sso.client.entity.Permission;
import java.util.List;
import java.util.Set;

/**
 * @author liuqin on 2017-12-21 14:26:10
 */
public interface PermissionService {

    List<Permission> list(Long offset, Long limit);

    Long count(Long offset, Long limit);

    Permission getPermissionById(Long id);

    void update(Permission entity);

    void save(Permission entity);

    void delete(Long id);

    Set<Permission> queryPermissionByIds(List<Long> ids);

}